home *** CD-ROM | disk | FTP | other *** search
- Subject: Re:
- Sent: 7/24/96 9:03 PM
- Received: 7/25/96 8:50 AM
- From: Dave Wilson, dwilson@best.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- >Hi ODF Team,
- >
- >I have been doing some testing of my part embeded in both ODF parts &
- >non-ODF parts, and I have found a problem when I am embeded that does not
- >happen when not embeded. It seems that every time my view's Draw function
- >is called (my view was invalidated), the view is erased beforehand. When
- >not embeded this does not happen. This automatic erasing is a problem for
- >me. Where is it happening and how can I circumvent it?
- >
- >Thanks,
- >Scott
-
- One way to handle this in a leaf part is to call Draw() directly instead of
- doing the more common Invalidate(). If you call Draw() directly, be sure to
- call it inside a double loop:
- - iterate over all the frames in your presentation.
- - iterate over all the facets of each frame.
-
- A sample where this seems to work well (with no blinking when embedded) is
- my Idler sample in the Developer University folder (on the DR5 CD).
-
- -Dave
-
- Dave Wilson
- Personal Concepts
- 635 Wellsbury Way
- Palo Alto, CA 94306
- voice: 415-494-6763
- email: dwilson@best.com
-
-
-